using System;
using System.Collections.Generic;
using System.Text;

namespace HREngine.Bots
{
	class Sim_BT_233 : SimTemplate //* 剑盾猛攻 Sword and Board
	{
		//Deal $2 damage to a minion. Gain 2 Armor.
		//对一个随从造成$2点伤害。获得2点护甲值。
		public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice)
		{
			int dmg = (ownplay) ? p.getSpellDamageDamage(2) : p.getEnemySpellDamageDamage(2);
			p.minionGetDamageOrHeal(target, dmg);
			p.minionGetArmor(ownplay ? p.ownHero : p.enemyHero, 2);
		}
	}
}
